/* css reset */
*{ margin:0; padding:0;}
ul,ol{ list-style: none;}
img{ display: block;}
a{ text-decoration: none; color: black;}
i {font-style: normal}

/* css common */
.l{float: left;}
.r{float: right;}
.clear:after{ content:""; display: block; clear:both;}
.container {width: 1080px; margin: 0 auto; position: relative;}
.container-fluid {position: relative;}
body {font-size: 14px;background-color: #F9F9F9;}

/* 设置购物车表单块的样式 */
#shopList{
    height: auto;
    border: 1px solid #cccccc;
    border-radius: 10px;
    background-color: #ffffff;
    overflow: hidden;
    margin: 50px auto;
    // padding-bottom: 85px;
    // position: relative;
}
.listTheme{
    width: 100%;
    height: 60px;
    border-bottom: 1px solid #cccccc;
    background-color: #FAFAFA;
}
.listTheme h1{
    padding-left: 30px;
    font-size: 18px;
    height: 60px;
    line-height: 60px;
    padding-left: 30px;
    color: rgba(0,0,0,.6);
    font-weight: 800;
}
.listTitle{
    width: 100%;
    height: 38px;
    border-bottom: 1px solid #cccccc;
    background-color: #f5f5f5;
}
#shopList ul{
    display: flex;
    align-items: center;
}
#shopList ul li{
    display: flex;
    align-items: center;
}
#shopList ul li:nth-child(1){
    padding-left: 30px;
    width: 550px;
}
#shopList ul li:nth-child(2){
    flex: 1;
    justify-content: center;
}
#shopList ul li:nth-child(3){
    flex: 1;
    justify-content: center;
}
#shopList ul li:nth-child(4){
    flex: 1;
    justify-content: center;
}
#shopList ul li:nth-child(5){
    flex: 1;
    justify-content: center;
}
.goods li{
    height: 110px;
}
.goods li:nth-child(4){
    flex-direction: column;
}
.goods li img{
    display: block;
    width: 80px;
    height: 80px;
    border: 1px solid #cccccc;
    border-radius: 8px;
    margin-left: 30px;
}
.goods li div{
    margin-left: 20px;
    display: flex;
    flex-direction: column;
}
.goods li div h2{
    font-size: 16px;
    font-weight: 700;
    color: #333333;
}
.goods li div p{
    font-size: 12px;
    color: #999999;
    padding-top: 6px;
}
.goods li:nth-child(2){
    font-size: 14px;
    color: #666666;
}
// 数量
#shopList .goods li:nth-child(3){
    justify-content: space-around;
}
.goods li button{
    display: block;
    width: 25px;
    height: 25px;
    outline: none;
    border: 1px solid #cccccc;
    border-radius: 50%;
    box-shadow: 0 0 5px 2px #cccccc;
    background-color: #ffffff;
    color: #999999;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
}
.goods li button:hover{
    background-color: #eeeeee;
}
/* 设置按钮不能再减少的样式 */
.goods li button.notReduce{
    color: #cccccc;
    box-shadow: 0 0 3px 3px #EDEDED;
    cursor: not-allowed;
}
.goods li em{
    font-size: 14px;
    color: #333333;
    font-weight: 700;
}
// 价格小计
.goods li b{
    font-size: 13px;
    color: #333333;
    font-weight: 700;
}
// 删除图标
.goods li span{
    font-size: 22px;
    color: #bbbbbb;
    cursor: pointer;
}
.goods li span:hover{
    color: #888888;
}

/* 设置底部的结算的样式 */
.allMsg{
    width: 1020px;
    height: 80px;
    // bottom: 0;
    border-top: 1px solid #cccccc;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 30px;
    // position: absolute;
    background-color: #ffffff;
    z-index: 999;
}
.leftMsg{
    display: flex;
    align-items: center;
}
.leftMsg h3{
    padding: 0 10px;
    font-size: 12px;
    color: #666666;
    border-right: 1px solid #cccccc;
    cursor: pointer;
}
.leftMsg span{
    padding-left: 10px;
    font-size: 12px;
    color: #bbbbbb;
    cursor: pointer;
}
.rightMsg{
    display: flex;
    align-items: center;
}
.rightMsg div:nth-child(1){
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-end;
    padding-right: 20px;
    border-right: 1px solid #cccccc;
}
.rightMsg div h2{
    font-size: 14px;
    color: #323232;
    font-weight: 600;
}
.rightMsg div h2 em{
    color: #d44d44;
    font-size: 18px;
}
.rightMsg div b{
    font-size: 14px;
    color: #959599;
    font-weight: 600;
    margin-top: 4px;
}
.rightMsg div b i{
    font-size: 16px;
}
.rightMsg div:nth-child(2){
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 0 20px;
}
.rightMsg button{
    width: 128px;
    height: 48px;
    outline: none;
    border: none;
    border-radius: 8px;
    color: #ffffff;
    font-size: 16px;
    font-weight: 600;
    background-color: #567ce6;
}

// 空购物车
.empty {
    width: 800px;
    margin: 100px auto;
    display: none;
    img {
        width: 100%;
    }
}